]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
inputMethod: Pass all key events through the current IM method
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 15 Mar 2018 13:01:51 +0000 (14:01 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 15 Mar 2018 15:09:38 +0000 (16:09 +0100)
Even though we are using an "xkb" source, it still makes sense to
pass the event through the IBus simple engine, in order to let it
handle compose keys and ctrl+shift+[u|e].

https://gitlab.gnome.org/GNOME/gnome-shell/issues/115

Closes: #115
js/misc/inputMethod.js

index addc20f4e78a60445cbeea833f1482db34ed9a96..6214832434cbf7ca17419fc1b70e402adccabc21 100644 (file)
@@ -188,8 +188,7 @@ var InputMethod = new Lang.Class({
     vfunc_filter_key_event(event) {
         if (!this._context || !this._enabled)
             return false;
-        if (!this._currentSource ||
-            this._currentSource.type == Keyboard.INPUT_SOURCE_TYPE_XKB)
+        if (!this._currentSource)
             return false;
 
         let state = event.get_state();